buildBuyTransactionList

Deprecated

Use the unified CostCalculation class and associated methods

Create a sorted map of date versus buy amount, which includes both cash purchases as well as reinvestments. This map can be used to determine whether a sale transaction represents long term capital gains, short term capital gains, or both.

Return

A map of integer date versus the total amount of the buy transaction, including any fees or commissions.

Parameters

sec

the security account to build the list of transactions for.